-
Home
-
Pixel Manager for WooCommerce – Track Google Analytics, Google Ads, TikTok and more
-
1.22.1
-
Code
-
Classes
- Profit_Margin
Total Complexity |
20 |
Dependencies |
2 |
Dependents |
1 |
Total lines |
133 |
Lines of code |
68 |
Logical lines of code |
45 |
Comment lines |
19 |
Methods |
6 |
Properties |
0 |
Methods 6
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_cog_for_product() |
S |
55 |
7 |
19 |
get_order_fees() |
S |
58 |
4 |
15 |
get_order_item_profit_margin() |
S |
59 |
3 |
14 |
get_cog_for_product_from_meta() |
S |
67 |
3 |
7 |
get_fee_by_postmeta_key() |
S |
68 |
2 |
7 |
get_order_profit_margin() |
S |
70 |
1 |
6 |